﻿@using System.Web.Script.Serialization
@using MongoDB.Bson
@model MVCMongo.ViewModel.Submit.UrlInfoViewModel
    @{
    ViewBag.Title = "_partialGetUrlInfo";
    Layout = "~/Views/Shared/_LayoutBreakingHome.cshtml";
      
   
        var serialise = new JavaScriptSerializer();
      
    
    }

<script src="~/Scripts/jquery-ui-1.8.24.min.js"></script>
     
<div class="row-fluid">
 @using (Html.BeginForm("GetSubmitUrlPost", "Submit", method: FormMethod.Post))
 {
     @Html.HiddenFor(x=>x.ImageURl)
     <div class="span6">
         <div class="box box-bordered">
             <div class="box-title">
                 <h3><i class="icon-th-list"></i> Article Details</h3>
             </div>
             <div class="box-content">
              
                
                 <div class="control-group">
                     <label class="control-label" for="textfield">Story Title</label>
                     <div class="controls">
                         @Html.TextBoxFor(x => x.Title, new {@class = "span10", @placeholder = "Text input", @readonly="readonly"})
                     </div>
                 </div>
             
                 <div class="control-group">
                     <label class="control-label" for="textfield">Tags</label>
                     <div class="controls">
                         @Html.ListBoxFor(x => x.Tag, ViewBag.TagList as SelectList, new { @class = "span10 chosen-select", @placeholder = "Tag Name" })
                     </div>
                 </div>
                 <div class="control-group">
                     <label class="control-label" for="textfield">Description</label>
                     <div class="controls">
                         @Html.TextAreaFor(x => x.Description, new { @class = "span10", @placeholder = "Text input", @readonly = "readonly" })
                            
                     </div>
                 </div>



                   
                 <div class="form-actions">
                     <button class="btn btn-primary" type="submit">Save changes</button>
                     <button class="btn" type="button">Cancel</button>
                 </div>
                
             </div>
         </div>
     </div>
     <div class="span6" id="post-url">
     </div>
 }
</div>
